package fi.foyt.cs.foursquare;

import org.restlet.representation.EmptyRepresentation;
import org.restlet.representation.Representation;
import org.restlet.resource.Get;
import org.restlet.resource.ServerResource;

public class OAuthResource extends ServerResource {

  @Get
  public Representation represent() {
    String code = (String) getRequest().getAttributes().get("code");
   
    System.out.println(code);
    
    return new EmptyRepresentation();
  }
  
}
